﻿@model AfrikDotnetWebSite.Models.Job

@{
    ViewBag.Title = "Job details: "+ Model.Title + " (" + Model.Id + ")";
}
<div class="jobs cf">
    <div class="large-pane float-left">
        <h2>@Html.ActionLink("Jobs", "Index") » @Html.DisplayFor(model => model.Title)</h2>

        <div class="list">
            <div>
                <span class="label">@Html.DisplayNameFor(model => model.Title):</span>
                @Html.DisplayFor(model => model.Title)
            </div>
            <div class="row">
                <span class="label">@Html.DisplayNameFor(model => model.Company):</span>
                @Html.DisplayFor(model => model.Company)
            </div>
            <div class="row">
                <span class="label">@Html.DisplayNameFor(model => model.Location):</span>
                @Html.DisplayFor(model => model.Location)
            </div>
            <div class="row">
                <span class="label">Posted on:</span>
                @Model.PostedOn.ToString("dd MMM yyyy ")
            </div>
            <div class="row">
                <span class="label">Expires:</span>
                @Model.ExpiresOn.ToString("dd MMM yyyy ")
            </div>
            <div class="row">
                <span class="label">@Html.DisplayNameFor(model => model.Details):</span>
                <div class="row">
                    @Html.DisplayFor(model => model.Details)
                </div>
            </div>
        </div>
    </div>
    <div class="small-pane float-right">
        @Html.Partial("_SidePane")
     </div>
</div>
